<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="menu">
        <img src="image/1.png" alt="#">
        <img src="image/2.png" alt="#">
        <img src="image/3.png" alt="#">
        <img src="image/4.png" alt="#">
        <img src="image/5.png" alt="#">
        <img src="image/6.png" alt="#">
        <img src="image/7.png" alt="#">
        <img src="image/8.png" alt="#">
    </div>
</body>
<script>
    var imgs = document.querySelectorAll('img')
    for (var i = 0; i < imgs.length; i++) {
        let a = i
        imgs[i].onmousemove = function (event) {
            imgs[a].style.transform = 'scale(1.3)'
        }
        imgs[i].onmouseout = function (event) {
            imgs[a].style.transform = 'scale(1.0)'
        }
    }
</script>
<style>
    body {
        margin: 0;
        padding: 0;
    }

    #menu {
        position: absolute;
        width: 100%;
        bottom: 0;
        text-align: center;
    }
</style>

</html>